var common = require('../../utils/common.js')
const app=getApp();
Page({
  data: common.someData,
  //事件处理函数
  bindViewTap: function() {
    wx.navigateTo({
      url: '../logs/logs'
    })
    
  },
  onLoad: function () {
    common.getSwiper(this,'美食');
	this.loadList();
  },
  loadList:function(){
	  var d=this.data;
	common.getList(this,d.page,d.limit,d.dg_list,'美食');
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
    return {
      title: '东固美食周边',
      desc: '东固美食周边',
      path: '/pages/around/around',
      imageUrl: '/images/food_share.jpg',
    }
  }
})